package cn.luischen.controller.admin;

import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.github.pagehelper.PageInfo;
import cn.luischen.constant.LogActions;
import cn.luischen.constant.WebConst;
import cn.luischen.controller.BaseController;
import cn.luischen.dto.StatisticsDto;
import cn.luischen.exception.BusinessException;
import cn.luischen.model.CommentDomain;
import cn.luischen.model.ContentDomain;
import cn.luischen.model.LogDomain;
import cn.luischen.model.UserDomain;
import cn.luischen.service.log.LogService;
import cn.luischen.service.site.SiteService;
import cn.luischen.service.user.UserService;
import cn.luischen.utils.APIResponse;
import cn.luischen.utils.GsonUtils;
import cn.luischen.utils.TaleUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import static org.junit.Assert.*;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
import org.junit.Rule;
import org.junit.runner.RunWith;
import org.junit.rules.ExpectedException;
import org.junit.Test;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.mockito.stubbing.Answer;
import java.lang.reflect.Method;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.parser.ParserConfig;
import java.util.Map;
import java.util.List;
import com.unitspirit.runtime.*;

/**
 * The class contains tests for the class cn.luischen.controller.admin.IndexController.
 *
 * @generatedBy UnitSpirit CreateTemplateTestFile4
 * @version 1.0.9.11 
 */
@PowerMockIgnore({ "javax.management.*" })
@RunWith(PowerMockRunner.class)
@PrepareForTest({ cn.luischen.utils.APIResponse.class,
		cn.luischen.utils.GsonUtils.class, cn.luischen.model.LogDomain.class,
		cn.luischen.model.UserDomain.class })
public class IndexController_saveProfile_WGTest {
	@Rule
	public ExpectedException unitspirit_thrown = ExpectedException.none();

	/**
	 * 测试方法初始化.
	 * 
	 * @throws Exception 
	 *         if the initialization fails for some reason 
	 *  
	 * @generatedBy UnitSpirit at 2021-12-08 11:01:16
	 */
	@org.junit.Before
	public void setUp() throws Exception {
		try {
			GlobalUnitInit.init();
			MockitoAnnotations.initMocks(this);
			ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

	@InjectMocks
	cn.luischen.controller.admin.IndexController unitspirit_fixture;

	@Mock
	cn.luischen.service.user.UserService mock_UserService;
	@Mock
	cn.luischen.service.site.SiteService mock_SiteService;
	@Mock
	cn.luischen.service.log.LogService mock_LogService;

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_0831_205526_050_2_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin12";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin12";
		String Stringrepeat_mock3_0 = "admin12";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"0:0:0:0:0:0:0:1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
		String Stringmock4_2 = "0:0:0:0:0:0:0:1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_0831_205526_050_2_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin12";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin12";
		String Stringrepeat_mock3_0 = "admin12";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"0:0:0:0:0:0:0:1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
		String Stringmock4_2 = "0:0:0:0:0:0:0:1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_0901_203937_275_1_01() throws Throwable {
		//被测函数参数定义
		String String_p_0 = "admin1";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_0901_203937_275_2_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin1";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain15 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain15)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer13 = 1;
		Integer Integermock12_0 = 1;
		String Stringrepeat_mock11_0 = "admin1";
		String Stringrepeat_mock4_0 = "admin1";
		String Stringrepeat_mock10_0 = "1034683568@qq.com";
		String Stringrepeat_mock3_0 = "1034683568@qq.com";
		int mock_result_int9 = 1;
		String mock_result_String8 = "\"0:0:0:0:0:0:0:1\"";
		Integer mock_result_Integer7 = 1;
		PowerMockito
				.doReturn(mock_result_Integer7)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock6_0 = "修改个人信息";
		String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
		String Stringmock6_2 = "0:0:0:0:0:0:0:1";
		Integer Integermock6_3 = 1;
		Object mock_result_Object5 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}";
		String Stringmock2_0 = "login_user";
		Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain14);
		PowerMockito.when(mock_sub_caller_UserDomain14.getUid()).thenReturn(
				mock_result_Integer13);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain14)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int9);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String8);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(HttpSession_p_3.getAttribute(anyString()))
				.thenReturn(mock_result_Object5);
		PowerMockito.doNothing().when(HttpSession_p_3)
				.setAttribute(anyString(), anyObject());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_0901_203937_275_2_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin1";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain15 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain15)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer13 = 1;
		Integer Integermock12_0 = 1;
		String Stringrepeat_mock11_0 = "admin1";
		String Stringrepeat_mock4_0 = "admin1";
		String Stringrepeat_mock10_0 = "1034683568@qq.com";
		String Stringrepeat_mock3_0 = "1034683568@qq.com";
		int mock_result_int9 = 1;
		String mock_result_String8 = "\"0:0:0:0:0:0:0:1\"";
		Integer mock_result_Integer7 = 1;
		PowerMockito
				.doReturn(mock_result_Integer7)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock6_0 = "修改个人信息";
		String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
		String Stringmock6_2 = "0:0:0:0:0:0:0:1";
		Integer Integermock6_3 = 1;
		Object mock_result_Object5 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}";
		String Stringmock2_0 = "login_user";
		Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain14);
		PowerMockito.when(mock_sub_caller_UserDomain14.getUid()).thenReturn(
				mock_result_Integer13);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain14)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int9);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String8);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(HttpSession_p_3.getAttribute(anyString()))
				.thenReturn(mock_result_Object5);
		PowerMockito.doNothing().when(HttpSession_p_3)
				.setAttribute(anyString(), anyObject());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1123_211311_295_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain19 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain19)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain18 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer17 = 1;
		Integer Integermock16_0 = 1;
		String Stringrepeat_mock15_0 = "admin";
		String Stringrepeat_mock2_0 = "admin";
		String Stringrepeat_mock14_0 = "1034683568@qq.com";
		String Stringrepeat_mock1_0 = "1034683568@qq.com";
		int mock_result_int13 = 1;
		Integer mock_result_Integer12 = 1;
		PowerMockito
				.doReturn(mock_result_Integer12)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.LogDomain mock_sub_caller_LogDomain11 = PowerMockito
				.mock(cn.luischen.model.LogDomain.class);
		Integer Integermock10_0 = 1;
		String Stringmock9_0 = "127.0.0.1";
		String Stringmock8_0 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
		String Stringmock7_0 = "修改个人信息";
		String mock_result_String6 = "\"修改个人信息\"";
		String mock_result_String5 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
		Integer mock_result_Integer4 = 1;
		String mock_result_String3 = "\"127.0.0.1\"";

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain18);
		PowerMockito.when(mock_sub_caller_UserDomain18.getUid()).thenReturn(
				mock_result_Integer17);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain18)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int13);
		PowerMockito.whenNew(cn.luischen.model.LogDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_LogDomain11);
		PowerMockito.doNothing().when(mock_sub_caller_LogDomain11)
				.setAuthorId(Mockito.anyInt());
		PowerMockito.doNothing().when(mock_sub_caller_LogDomain11)
				.setIp(anyString());
		PowerMockito.doNothing().when(mock_sub_caller_LogDomain11)
				.setData(anyString());
		PowerMockito.doNothing().when(mock_sub_caller_LogDomain11)
				.setAction(anyString());
		PowerMockito.when(mock_sub_caller_LogDomain11.getAction()).thenReturn(
				mock_result_String6);
		PowerMockito.when(mock_sub_caller_LogDomain11.getData()).thenReturn(
				mock_result_String5);
		PowerMockito.when(mock_sub_caller_LogDomain11.getAuthorId())
				.thenReturn(mock_result_Integer4);
		PowerMockito.when(mock_sub_caller_LogDomain11.getIp()).thenReturn(
				mock_result_String3);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205622_472_1_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin";
		String Stringrepeat_mock3_0 = "admin";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205622_472_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin";
		String Stringrepeat_mock3_0 = "admin";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205626_370_1_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin1";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin1";
		String Stringrepeat_mock3_0 = "admin1";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:17
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205626_370_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin1";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin1";
		String Stringrepeat_mock3_0 = "admin1";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205630_642_1_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin12";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin12";
		String Stringrepeat_mock3_0 = "admin12";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205630_642_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin12";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin12";
		String Stringrepeat_mock3_0 = "admin12";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205635_271_1_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin123";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin123";
		String Stringrepeat_mock3_0 = "admin123";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1124_205635_271_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin123";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain13 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain13)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer11 = 1;
		Integer Integermock10_0 = 1;
		String Stringrepeat_mock9_0 = "admin123";
		String Stringrepeat_mock3_0 = "admin123";
		String Stringrepeat_mock8_0 = "1034683568@qq.com";
		String Stringrepeat_mock2_0 = "1034683568@qq.com";
		int mock_result_int7 = 1;
		String mock_result_String6 = "\"127.0.0.1\"";
		Integer mock_result_Integer5 = 1;
		PowerMockito
				.doReturn(mock_result_Integer5)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock4_0 = "修改个人信息";
		String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
		String Stringmock4_2 = "127.0.0.1";
		Integer Integermock4_3 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain12);
		PowerMockito.when(mock_sub_caller_UserDomain12.getUid()).thenReturn(
				mock_result_Integer11);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain12)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int7);
		PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn(
				mock_result_String6);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1125_114028_696_1_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin2";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain4 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain4).when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		Integer mock_result_Integer3 = 1;
		PowerMockito
				.doReturn(mock_result_Integer3)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		Object mock_result_Object2 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}";
		String Stringmock1_0 = "login_user";
		Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin2\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

		PowerMockito.when(HttpSession_p_3.getAttribute(anyString()))
				.thenReturn(mock_result_Object2);
		PowerMockito.doNothing().when(HttpSession_p_3)
				.setAttribute(anyString(), anyObject());

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1125_114028_696_1_01() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin2";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain4 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain4).when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		Integer mock_result_Integer3 = 1;
		PowerMockito
				.doReturn(mock_result_Integer3)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		Object mock_result_Object2 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}";
		String Stringmock1_0 = "login_user";
		Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin2\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

		PowerMockito.when(HttpSession_p_3.getAttribute(anyString()))
				.thenReturn(mock_result_Object2);
		PowerMockito.doNothing().when(HttpSession_p_3)
				.setAttribute(anyString(), anyObject());

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}

	/**
	 * @date 2021-12-08 11:01:18
	 * @see cn.luischen.controller.admin.IndexController#saveProfile
	 * @category null  
	 * @author UnitSpirit   
	 */
	@Test
	public void test_saveProfile_1125_152220_691_2_02() throws Throwable {
		unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
		//被测函数参数定义
		String String_p_0 = "admin1133";
		String String_p_1 = "1034683568@qq.com";
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		javax.servlet.http.HttpSession HttpSession_p_3 = Mockito
				.mock(javax.servlet.http.HttpSession.class);
		//成员变量设置

		//返回值定义 
		String result_expected = "{\"code\":\"success\"}";

		cn.luischen.model.UserDomain mock_result_UserDomain15 = JSON
				.parseObject(
						"{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",
						cn.luischen.model.UserDomain.class);
		PowerMockito.doReturn(mock_result_UserDomain15)
				.when(unitspirit_fixture)
				.user(Mockito.any(javax.servlet.http.HttpServletRequest.class));
		cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito
				.mock(cn.luischen.model.UserDomain.class);
		Integer mock_result_Integer13 = 1;
		Integer Integermock12_0 = 1;
		String Stringrepeat_mock11_0 = "admin1133";
		String Stringrepeat_mock4_0 = "admin1133";
		String Stringrepeat_mock10_0 = "1034683568@qq.com";
		String Stringrepeat_mock3_0 = "1034683568@qq.com";
		int mock_result_int9 = 1;
		PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
		java.lang.String mock_result_String8 = "{\"uid\":1,\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1133\"}";
		Integer mock_result_Integer7 = 1;
		PowerMockito
				.doReturn(mock_result_Integer7)
				.when(unitspirit_fixture)
				.getUid(Mockito
						.any(javax.servlet.http.HttpServletRequest.class));
		String Stringmock6_0 = "修改个人信息";
		String Stringmock6_1 = "{\"uid\":1,\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1133\"}";
		String Stringmock6_2 = "127.0.0.1";
		Integer Integermock6_3 = 1;
		Object mock_result_Object5 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}";
		String Stringmock2_0 = "login_user";
		Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1133\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
		PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
		cn.luischen.utils.APIResponse mock_result_APIResponse1 = JSON
				.parseObject("{\"code\":\"success\"}",
						cn.luischen.utils.APIResponse.class);

		PowerMockito.whenNew(cn.luischen.model.UserDomain.class)
				.withNoArguments().thenReturn(mock_sub_caller_UserDomain14);
		PowerMockito.when(mock_sub_caller_UserDomain14.getUid()).thenReturn(
				mock_result_Integer13);
		PowerMockito.doNothing().when(mock_sub_caller_UserDomain14)
				.setUid(Mockito.anyInt());
		PowerMockito.when(
				mock_UserService.updateUserInfo(Mockito
						.any(cn.luischen.model.UserDomain.class))).thenReturn(
				mock_result_int9);
		PowerMockito
				.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject()))
				.thenReturn(mock_result_String8);
		PowerMockito
				.doNothing()
				.when(mock_LogService)
				.addLog(anyString(), anyString(), anyString(), Mockito.anyInt());
		PowerMockito.when(HttpSession_p_3.getAttribute(anyString()))
				.thenReturn(mock_result_Object5);
		PowerMockito.doNothing().when(HttpSession_p_3)
				.setAttribute(anyString(), anyObject());
		PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn(
				mock_result_APIResponse1);

		cn.luischen.utils.APIResponse unitspirit_result = unitspirit_fixture
				.saveProfile(String_p_0, String_p_1, HttpServletRequest_p_2,
						HttpSession_p_3);
		cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(
				result_expected, cn.luischen.utils.APIResponse.class);
		UnitAssert.assertEquals(
				UnitSpiritFastJsonUtil.getJsonString2(obj_expected),
				UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
	}
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1125_152220_691_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1133";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain15 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain15).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer13 = 1;
    Integer Integermock12_0 = 1;
    String Stringrepeat_mock11_0 = "admin1133";
    String Stringrepeat_mock4_0 = "admin1133";
    String Stringrepeat_mock10_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    int mock_result_int9 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String8 = "{\"uid\":1,\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1133\"}";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1133\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    Object mock_result_Object5 = "{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}";
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1133\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain14);
    PowerMockito.when( mock_sub_caller_UserDomain14.getUid()).thenReturn( mock_result_Integer13);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain14).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_int9);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_Object5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1126_111348_147_1_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain4 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain4).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    Integer mock_result_Integer3 = 1;
    PowerMockito.doReturn( mock_result_Integer3).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_result_UserDomain2 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock1_0 = "login_user";
    Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain2);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1126_111348_147_1_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain4 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain4).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    Integer mock_result_Integer3 = 1;
    PowerMockito.doReturn( mock_result_Integer3).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_result_UserDomain2 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock1_0 = "login_user";
    Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain2);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1126_124407_210_1_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain4 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain4).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    Integer mock_result_Integer3 = 1;
    PowerMockito.doReturn( mock_result_Integer3).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_result_UserDomain2 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock1_0 = "login_user";
    Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain2);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1126_124407_210_1_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain4 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain4).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    Integer mock_result_Integer3 = 1;
    PowerMockito.doReturn( mock_result_Integer3).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_result_UserDomain2 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin11\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock1_0 = "login_user";
    Object Objectmock1_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";

    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain2);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1127_103848_773_1_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain16 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain16).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain15 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer14 = 1;
    Integer Integermock13_0 = 1;
    String Stringrepeat_mock12_0 = "admin";
    String Stringrepeat_mock4_0 = "admin";
    String Stringrepeat_mock11_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain15);
    PowerMockito.when( mock_sub_caller_UserDomain15.getUid()).thenReturn( mock_result_Integer14);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain15).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1127_103848_773_1_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain16 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain16).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain15 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer14 = 1;
    Integer Integermock13_0 = 1;
    String Stringrepeat_mock12_0 = "admin";
    String Stringrepeat_mock4_0 = "admin";
    String Stringrepeat_mock11_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain15);
    PowerMockito.when( mock_sub_caller_UserDomain15.getUid()).thenReturn( mock_result_Integer14);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain15).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1127_103852_063_1_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain16 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain16).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain15 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer14 = 1;
    Integer Integermock13_0 = 1;
    String Stringrepeat_mock12_0 = "admin1";
    String Stringrepeat_mock4_0 = "admin1";
    String Stringrepeat_mock11_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain15);
    PowerMockito.when( mock_sub_caller_UserDomain15.getUid()).thenReturn( mock_result_Integer14);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain15).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1127_103852_063_1_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain16 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain16).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain15 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer14 = 1;
    Integer Integermock13_0 = 1;
    String Stringrepeat_mock12_0 = "admin1";
    String Stringrepeat_mock4_0 = "admin1";
    String Stringrepeat_mock11_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain15);
    PowerMockito.when( mock_sub_caller_UserDomain15.getUid()).thenReturn( mock_result_Integer14);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain15).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_154826_606_2_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin12";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin12";
    String Stringrepeat_mock4_0 = "admin12";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":14,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":8,\"cachedPreparedStatementMissCount\":14,\"clearFiltersEnable\":true,\"closeCount\":21,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":5,\"connectCount\":21,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":1,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":0,\"aliveNanoMin\":0,\"closeCount\":0,\"commitCount\":5,\"connectCount\":1,\"connectErrorCount\":0,\"connectLastTime\":1606722292659,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10001:{\"connectTime\":1606722292659,\"connectTimespanNano\":530320900,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":2820607162700,\"establishTime\":1606722292659,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499752,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":6,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":6,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722423643,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":1,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":1,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":1,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":133860900,\"prepareCallCount\":0,\"prepareCount\":14,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":0,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":22,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":21,\"notEmptyWaitCount\":0,\"notEmptyWaitNanos\":0,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":0,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":14,\"queryTimeout\":0,\"recycleCount\":21,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":5,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin12\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:18
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_154826_606_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin12";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin12";
    String Stringrepeat_mock4_0 = "admin12";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":14,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":8,\"cachedPreparedStatementMissCount\":14,\"clearFiltersEnable\":true,\"closeCount\":21,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":5,\"connectCount\":21,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":1,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":0,\"aliveNanoMin\":0,\"closeCount\":0,\"commitCount\":5,\"connectCount\":1,\"connectErrorCount\":0,\"connectLastTime\":1606722292659,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10001:{\"connectTime\":1606722292659,\"connectTimespanNano\":530320900,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":2820607162700,\"establishTime\":1606722292659,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499752,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":6,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":6,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722423643,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":1,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":1,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":1,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":133860900,\"prepareCallCount\":0,\"prepareCount\":14,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":0,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":22,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":21,\"notEmptyWaitCount\":0,\"notEmptyWaitNanos\":0,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":0,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":14,\"queryTimeout\":0,\"recycleCount\":21,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":5,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin12\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin1\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin12\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_154830_725_2_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin123";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin123";
    String Stringrepeat_mock4_0 = "admin123";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":14,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":10,\"cachedPreparedStatementMissCount\":14,\"clearFiltersEnable\":true,\"closeCount\":23,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":6,\"connectCount\":23,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":1,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":0,\"aliveNanoMin\":0,\"closeCount\":0,\"commitCount\":6,\"connectCount\":1,\"connectErrorCount\":0,\"connectLastTime\":1606722292659,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10001:{\"connectTime\":1606722292659,\"connectTimespanNano\":530320900,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":2820607162700,\"establishTime\":1606722292659,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722506529,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":7,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":7,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722506217,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":2,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":2,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":2,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":140217700,\"prepareCallCount\":0,\"prepareCount\":14,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":0,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":24,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":23,\"notEmptyWaitCount\":0,\"notEmptyWaitNanos\":0,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":0,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":14,\"queryTimeout\":0,\"recycleCount\":23,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":6,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin123\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_154830_725_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin123";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin123";
    String Stringrepeat_mock4_0 = "admin123";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":14,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":10,\"cachedPreparedStatementMissCount\":14,\"clearFiltersEnable\":true,\"closeCount\":23,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":6,\"connectCount\":23,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":1,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":0,\"aliveNanoMin\":0,\"closeCount\":0,\"commitCount\":6,\"connectCount\":1,\"connectErrorCount\":0,\"connectLastTime\":1606722292659,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10001:{\"connectTime\":1606722292659,\"connectTimespanNano\":530320900,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":2820607162700,\"establishTime\":1606722292659,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722506529,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":7,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":7,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722506217,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":2,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":2,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":2,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":140217700,\"prepareCallCount\":0,\"prepareCount\":14,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":0,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":24,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":23,\"notEmptyWaitCount\":0,\"notEmptyWaitNanos\":0,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":0,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":14,\"queryTimeout\":0,\"recycleCount\":23,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":6,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin123\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_160404_710_2_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin123";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12345\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin123";
    String Stringrepeat_mock4_0 = "admin123";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":16,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":14,\"cachedPreparedStatementMissCount\":16,\"clearFiltersEnable\":true,\"closeCount\":29,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":9,\"connectCount\":30,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":2,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":1085110045100,\"aliveNanoMin\":1085110045100,\"closeCount\":1,\"commitCount\":9,\"connectCount\":2,\"connectErrorCount\":0,\"connectLastTime\":1606723378048,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10002:{\"connectTime\":1606723378048,\"connectTimespanNano\":27285600,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":3905750166300,\"establishTime\":1606723378048,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723381683,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":10,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":10,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723381572,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":5,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":5,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":5,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":157674100,\"prepareCallCount\":0,\"prepareCount\":16,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":1,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":30,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":30,\"notEmptyWaitCount\":1,\"notEmptyWaitNanos\":21763600,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":1,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":16,\"queryTimeout\":0,\"recycleCount\":29,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":9,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12345\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin123\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_160404_710_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin123";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12345\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin123";
    String Stringrepeat_mock4_0 = "admin123";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":16,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":14,\"cachedPreparedStatementMissCount\":16,\"clearFiltersEnable\":true,\"closeCount\":29,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":9,\"connectCount\":30,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":2,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":1085110045100,\"aliveNanoMin\":1085110045100,\"closeCount\":1,\"commitCount\":9,\"connectCount\":2,\"connectErrorCount\":0,\"connectLastTime\":1606723378048,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10002:{\"connectTime\":1606723378048,\"connectTimespanNano\":27285600,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":3905750166300,\"establishTime\":1606723378048,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723381683,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":10,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":10,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723381572,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":5,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":5,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":5,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":157674100,\"prepareCallCount\":0,\"prepareCount\":16,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":1,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":30,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":30,\"notEmptyWaitCount\":1,\"notEmptyWaitNanos\":21763600,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":1,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":16,\"queryTimeout\":0,\"recycleCount\":29,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":9,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin123\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin12345\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin123\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_160409_558_2_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1234";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin123\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin1234";
    String Stringrepeat_mock4_0 = "admin1234";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":16,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":16,\"cachedPreparedStatementMissCount\":16,\"clearFiltersEnable\":true,\"closeCount\":31,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":10,\"connectCount\":32,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":2,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":1085110045100,\"aliveNanoMin\":1085110045100,\"closeCount\":1,\"commitCount\":10,\"connectCount\":2,\"connectErrorCount\":0,\"connectLastTime\":1606723378048,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10002:{\"connectTime\":1606723378048,\"connectTimespanNano\":27285600,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":3905750166300,\"establishTime\":1606723378048,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723444669,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":11,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":11,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723444560,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":6,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":6,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":6,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":161648800,\"prepareCallCount\":0,\"prepareCount\":16,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":1,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":32,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":32,\"notEmptyWaitCount\":1,\"notEmptyWaitNanos\":21763600,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":1,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":16,\"queryTimeout\":0,\"recycleCount\":31,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":10,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1234\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1234\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin123\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1234\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1130_160409_558_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1234";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain17 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin123\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain17).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain16 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer15 = 1;
    Integer Integermock14_0 = 1;
    String Stringrepeat_mock13_0 = "admin1234";
    String Stringrepeat_mock4_0 = "admin1234";
    String Stringrepeat_mock12_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";  org.springframework.util.ConcurrentReferenceHashMap  mock_sub_caller_ConcurrentReferenceHashMap11 = PowerMockito.mock(org.springframework.util.ConcurrentReferenceHashMap.class);
    org.springframework.jdbc.datasource.DataSourceTransactionManager mock_result_DataSourceTransactionManager11 =  JSON.parseObject("{\"dataSource\":{\"accessToUnderlyingConnectionAllowed\":true,\"activeConnections\":[],\"activeCount\":0,\"activePeak\":1,\"activePeakTime\":1606722401738,\"asyncCloseConnectionEnable\":false,\"asyncInit\":false,\"breakAfterAcquireFailure\":false,\"cachedPreparedStatementCount\":16,\"cachedPreparedStatementDeleteCount\":0,\"cachedPreparedStatementHitCount\":16,\"cachedPreparedStatementMissCount\":16,\"clearFiltersEnable\":true,\"closeCount\":31,\"closed\":false,\"closedPreparedStatementCount\":0,\"commitCount\":10,\"connectCount\":32,\"connectErrorCount\":0,\"connectProperties\":{},\"connectionErrorRetryAttempts\":1,\"connectionInitSqls\":[],\"createCount\":2,\"createErrorCount\":0,\"createdTime\":1606722291440,\"dataSourceStat\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"connectionHoldHistogram\":{\"ranges\":[1,10,100,1000,10000,100000,1000000]},\"connectionStat\":{\"activeCount\":1,\"aliveNanoMax\":1085110045100,\"aliveNanoMin\":1085110045100,\"closeCount\":1,\"commitCount\":10,\"connectCount\":2,\"connectErrorCount\":0,\"connectLastTime\":1606723378048,\"connectNanoMax\":530320900,\"connectingCount\":0,\"connectingMax\":1,\"errorCount\":0,\"rollbackCount\":0,\"transactionStartCount\":0},\"connections\":{10002:{\"connectTime\":1606723378048,\"connectTimespanNano\":27285600,\"dataSource\":\"DataSource-1902237905\",\"establishNano\":3905750166300,\"establishTime\":1606723378048,\"lastSql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\"}},\"dbType\":\"mysql\",\"keepAliveCheckCount\":0,\"maxSqlSize\":1000,\"resetStatEnable\":true,\"resultSetStat\":{\"aliveNanoTotal\":211940800,\"closeCount\":11,\"errorCount\":0,\"fetchRowCount\":23,\"lastOpenTime\":1606722410825,\"openCount\":11,\"openingCount\":0,\"openingMax\":1},\"skipSqlCount\":0,\"sqlStatMap\":{\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402112,\"executeNanoSpanMaxOccurTime\":1606722402134,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":1,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":14,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":97896800,\"runningCount\":0,\"sql\":\"SELECT\n             \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\n        WHERE name = ?\",\"sqlHash\":-8368492040826194904,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722402309,\"executeNanoSpanMaxOccurTime\":1606722402331,\"executeSuccessCount\":1,\"fetchRowCount\":13,\"fetchRowCountMax\":13,\"id\":2,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":248,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":53055000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        o.name, o.value,o.description\n     \n        FROM  \n        t_options\n      AS o\",\"sqlHash\":548709704397804878,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722409013,\"executeNanoSpanMaxOccurTime\":1606722409018,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":3,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":66,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":8493000,\"runningCount\":0,\"sql\":\"SELECT\n         \n        uid,username,password,email,homeUrl,screenName,created,activated,logged,groupName\n     \n        FROM\n         \n        t_users\n     \n         WHERE  username = ?\n            \n            \n                AND password = ?\",\"sqlHash\":-7988794061599369810,\"updateCount\":0,\"updateCountMax\":0},\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723444669,\"executeNanoSpanMaxOccurTime\":1606722423741,\"executeSuccessCount\":11,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":4,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"INSERT INTO\n         \n        t_logs\n     \n         ( action, data, authorId, ip, created ) \n         VALUES( ?, ?,\n            ?, ?, UNIX_TIMESTAMP(NOW()) )\",\"sqlHash\":4725471276359018352,\"updateCount\":11,\"updateCountMax\":1},\"SELECT count(0) FROM t_comments AS cm\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410430,\"executeNanoSpanMaxOccurTime\":1606722410450,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":5,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5076000,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_comments AS cm\",\"sqlHash\":-8388930299285407226,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_contents AS c\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410494,\"executeNanoSpanMaxOccurTime\":1606722410503,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":6,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":5964100,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_contents AS c\",\"sqlHash\":2997335953729377775,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM  \n      t_contents\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410549,\"executeNanoSpanMaxOccurTime\":1606722410549,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":7,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7494100,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM  \n      t_contents\",\"sqlHash\":-8404117685982227368,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_comments\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410568,\"executeNanoSpanMaxOccurTime\":1606722410568,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":8,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":7889900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_comments\",\"sqlHash\":7946272347714299454,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410608,\"executeNanoSpanMaxOccurTime\":1606722410608,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":9,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":2854200,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n      t_metas\n     \n        WHERE type = ?\",\"sqlHash\":8193732265312547985,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(*)\n        FROM\n         \n        t_attach\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410628,\"executeNanoSpanMaxOccurTime\":1606722410648,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":10,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":6801900,\"runningCount\":0,\"sql\":\"SELECT count(*)\n        FROM\n         \n        t_attach\",\"sqlHash\":185858446189086961,\"updateCount\":0,\"updateCountMax\":0},\"SELECT count(0) FROM t_logs AS l\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410786,\"executeNanoSpanMaxOccurTime\":1606722410786,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":11,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":11544500,\"runningCount\":0,\"sql\":\"SELECT count(0) FROM t_logs AS l\",\"sqlHash\":-2016797722240841411,\"updateCount\":0,\"updateCountMax\":0},\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722410825,\"executeNanoSpanMaxOccurTime\":1606722410825,\"executeSuccessCount\":1,\"fetchRowCount\":1,\"fetchRowCountMax\":1,\"id\":12,\"inTransactionCount\":0,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":13,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":4871300,\"runningCount\":0,\"sql\":\"SELECT\n         \n        l.id, l.action, l.data, l.authorId, l.ip, l.created\n     \n        FROM\n         \n        t_logs\n      AS l\n        ORDER BY l.id DESC LIMIT ? \",\"sqlHash\":9063655823639480352,\"updateCount\":0,\"updateCountMax\":0},\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606723444560,\"executeNanoSpanMaxOccurTime\":1606722423653,\"executeSuccessCount\":6,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":13,\"inTransactionCount\":6,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ?,\n            \n            \n                screenName = ?,\n            \n            \n                email = ? \n        WHERE uid = ?\",\"sqlHash\":4292809574519674634,\"updateCount\":6,\"updateCountMax\":1},\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\":{\"blobOpenCount\":0,\"clobOpenCount\":0,\"concurrentMax\":1,\"dbType\":\"mysql\",\"executeBatchSizeMax\":0,\"executeBatchSizeTotal\":0,\"executeLastStartTime\":1606722499502,\"executeNanoSpanMaxOccurTime\":1606722499506,\"executeSuccessCount\":4,\"fetchRowCount\":0,\"fetchRowCountMax\":0,\"id\":14,\"inTransactionCount\":4,\"inputStreamOpenCount\":0,\"readBytesLength\":0,\"readStringLength\":0,\"readerOpenCount\":0,\"removed\":false,\"resultSetHoldTimeNano\":0,\"runningCount\":0,\"sql\":\"UPDATE\n           \n        t_users\n     \n         SET password = ? \n        WHERE uid = ?\",\"sqlHash\":5959077049444246741,\"updateCount\":4,\"updateCountMax\":1}},\"statementStat\":{\"closeCount\":0,\"concurrentMax\":1,\"createCount\":0,\"errorCount\":0,\"nanoTotal\":161648800,\"prepareCallCount\":0,\"prepareCount\":16,\"runningCount\":0},\"url\":\"jdbc:mysql://10.0.2.2:3306/lu_tale?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true\"},\"dbType\":\"mysql\",\"defaultAutoCommit\":true,\"destroyCount\":0,\"discardCount\":1,\"driver\":{},\"dupCloseCount\":0,\"dupCloseLogEnable\":false,\"enable\":true,\"errorCount\":0,\"exceptionSorter\":{},\"executeCount\":32,\"failFast\":false,\"initGlobalVariants\":false,\"initStackTrace\":\"java.lang.Thread.getStackTrace(Thread.java:1559)\ncom.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:743)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1827)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1770)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1698)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)\norg.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)\norg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1424)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1326)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584)\norg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)\norg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1344)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578)\norg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)\norg.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\norg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\norg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\norg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\norg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)\norg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\norg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\norg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\norg.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)\norg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:327)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\norg.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\ncn.luischen.MySiteApplication.main(MySiteApplication.java:14)\nsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.lang.reflect.Method.invoke(Method.java:498)\norg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:87)\norg.springframework.boot.loader.Launcher.launch(Launcher.java:50)\norg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n\",\"initVariants\":false,\"inited\":true,\"initialSize\":1,\"keepAlive\":false,\"killWhenSocketReadTimeout\":false,\"lastCreateErrorTimeMillis\":0,\"lastErrorTimeMillis\":0,\"lock\":{},\"logAbandoned\":false,\"logDifferentThread\":true,\"logWriter\":\"java.io.PrintWriter@13f3e1a4\",\"maxActive\":20,\"maxCreateTaskCount\":3,\"maxEvictableIdleTimeMillis\":25200000,\"maxIdle\":8,\"maxOpenPreparedStatements\":20,\"maxPoolPreparedStatementPerConnectionSize\":20,\"maxWait\":6000,\"maxWaitThreadCount\":-1,\"mbeanRegistered\":true,\"minEvictableIdleTimeMillis\":30000,\"minIdle\":1,\"name\":\"DataSource-1902237905\",\"notEmptySignalCount\":32,\"notEmptyWaitCount\":1,\"notEmptyWaitNanos\":21763600,\"notEmptyWaitThreadCount\":0,\"notEmptyWaitThreadPeak\":1,\"notFullTimeoutRetryCount\":0,\"numTestsPerEvictionRun\":3,\"objectName\":{},\"onFatalError\":false,\"onFatalErrorMaxActive\":0,\"oracle\":false,\"password\":\"lu_tale\",\"phyTimeoutMillis\":-1,\"poolPreparedStatements\":true,\"poolingCount\":1,\"poolingPeak\":1,\"poolingPeakTime\":1606722293260,\"preparedStatementCount\":16,\"queryTimeout\":0,\"recycleCount\":31,\"recycleErrorCount\":0,\"removeAbandoned\":false,\"removeAbandonedCount\":0,\"removeAbandonedTimeoutMillis\":300000,\"resetCount\":0,\"resetStatEnable\":true,\"rollbackCount\":0,\"sharePreparedStatements\":false,\"startTransactionCount\":10,\"statLogger\":{\"logger\":{\"debugCount\":0,\"errorCount\":0,\"infoCount\":0,\"warnCount\":0}},\"testOnBorrow\":false,\"testOnReturn\":false,\"testWhileIdle\":true,\"timeBetweenConnectErrorMillis\":500,\"timeBetweenEvictionRunsMillis\":6000,\"timeBetweenLogStatsMillis\":0,\"transactionHistogram\":{\"ranges\":[1,10,100,1000,10000,100000]},\"transactionQueryTimeout\":0,\"transactionThresholdMillis\":0,\"useGlobalDataSourceStat\":false,\"useLocalSessionState\":true,\"useOracleImplicitCache\":true,\"useUnfairLock\":true,\"username\":\"lu_tale\",\"validConnectionChecker\":{\"usePingMethod\":true},\"validationQuery\":\"SELECT 'x'\",\"validationQueryTimeout\":-1},\"defaultTimeout\":-1,\"enforceReadOnly\":false,\"failEarlyOnGlobalRollbackOnly\":false,\"globalRollbackOnParticipationFailure\":true,\"nestedTransactionAllowed\":true,\"rollbackOnCommitFailure\":false,\"transactionSynchronization\":0,\"validateExistingTransaction\":false}",org.springframework.jdbc.datasource.DataSourceTransactionManager.class);
    Integer mock_result_Integer10 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String9 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1234\"}";
    String mock_result_String8 = "\"127.0.0.1\"";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1234\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"screenName\":\"admin123\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"0287040c474dbf44cdeb17eebb99d828\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1234\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain16);
    PowerMockito.when( mock_sub_caller_UserDomain16.getUid()).thenReturn( mock_result_Integer15);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain16).setUid(Mockito.anyInt());
    PowerMockito.when( mock_sub_caller_ConcurrentReferenceHashMap11.get(anyObject())).thenReturn( mock_result_DataSourceTransactionManager11);
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer10);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String9);
    PowerMockito.when(HttpServletRequest_p_2.getRemoteAddr()).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1207_113828_247_2_02() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";


    cn.luischen.model.UserDomain mock_result_UserDomain15 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain15).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer13 = 1;
    Integer Integermock12_0 = 1;
    String Stringrepeat_mock11_0 = "admin1";
    String Stringrepeat_mock4_0 = "admin1";
    String Stringrepeat_mock10_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer9 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String8 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain14);
    PowerMockito.when( mock_sub_caller_UserDomain14.getUid()).thenReturn( mock_result_Integer13);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain14).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer9);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1207_113828_247_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain15 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain15).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain14 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer13 = 1;
    Integer Integermock12_0 = 1;
    String Stringrepeat_mock11_0 = "admin1";
    String Stringrepeat_mock4_0 = "admin1";
    String Stringrepeat_mock10_0 = "1034683568@qq.com";
    String Stringrepeat_mock3_0 = "1034683568@qq.com";
    Integer mock_result_Integer9 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String8 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    Integer mock_result_Integer7 = 1;
    PowerMockito.doReturn( mock_result_Integer7).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock6_0 = "修改个人信息";
    String Stringmock6_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String Stringmock6_2 = "127.0.0.1";
    Integer Integermock6_3 = 1;
    cn.luischen.model.UserDomain mock_result_UserDomain5 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    String Stringmock2_0 = "login_user";
    Object Objectmock2_1 = "{\"uid\":1,\"groupName\":\"visitor\",\"password\":\"a66abb5684c45962d887564f08346e8d\",\"logged\":0,\"created\":1490756162,\"screenName\":\"admin1\",\"email\":\"1034683568@qq.com\",\"activated\":0,\"username\":\"admin\"}";
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain14);
    PowerMockito.when( mock_sub_caller_UserDomain14.getUid()).thenReturn( mock_result_Integer13);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain14).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer9);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String8);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(HttpSession_p_3.getAttribute(anyString())).thenReturn( mock_result_UserDomain5);
    PowerMockito.doNothing().when(HttpSession_p_3).setAttribute(anyString(),anyObject());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
  /**
  * @date 2021-12-08 11:01:19
  * @see cn.luischen.controller.admin.IndexController#saveProfile
  * @category null  
  * @author UnitSpirit   
  */
  @Test
  public void test_saveProfile_1214_120458_530_2_01() throws Throwable {
    unitspirit_fixture = PowerMockito.spy(unitspirit_fixture);
    //被测函数参数定义
    String String_p_0 = "admin1";
    String String_p_1 = "1034683568@qq.com";
    javax.servlet.http.HttpServletRequest HttpServletRequest_p_2 = Mockito.mock(javax.servlet.http.HttpServletRequest.class);
    javax.servlet.http.HttpSession HttpSession_p_3 = Mockito.mock(javax.servlet.http.HttpSession.class);
  //成员变量设置


    //返回值定义 
    String result_expected = "{\"code\":\"success\"}";

    cn.luischen.model.UserDomain mock_result_UserDomain13 =  JSON.parseObject("{\"activated\":0,\"created\":1490756162,\"email\":\"1034683568@qq.com\",\"groupName\":\"visitor\",\"logged\":0,\"password\":\"a66abb5684c45962d887564f08346e8d\",\"screenName\":\"admin\",\"uid\":1,\"username\":\"admin\"}",cn.luischen.model.UserDomain.class);
    PowerMockito.doReturn( mock_result_UserDomain13).when(unitspirit_fixture).user(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    cn.luischen.model.UserDomain mock_sub_caller_UserDomain12 = PowerMockito.mock(cn.luischen.model.UserDomain.class);
    Integer mock_result_Integer11 = 1;
    Integer Integermock10_0 = 1;
    String Stringrepeat_mock9_0 = "admin1";
    String Stringrepeat_mock3_0 = "admin1";
    String Stringrepeat_mock8_0 = "1034683568@qq.com";
    String Stringrepeat_mock2_0 = "1034683568@qq.com";
    Integer mock_result_Integer7 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.GsonUtils.class);
    java.lang.String mock_result_String6 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    Integer mock_result_Integer5 = 1;
    PowerMockito.doReturn( mock_result_Integer5).when(unitspirit_fixture).getUid(Mockito.any(javax.servlet.http.HttpServletRequest.class ));
    String Stringmock4_0 = "修改个人信息";
    String Stringmock4_1 = "{\"uid\":1,\"password\":\"111111\",\"email\":\"1034683568@qq.com\",\"screenName\":\"admin1\"}";
    String Stringmock4_2 = "127.0.0.1";
    Integer Integermock4_3 = 1;
    PowerMockito.mockStatic(cn.luischen.utils.APIResponse.class);
    cn.luischen.utils.APIResponse mock_result_APIResponse1 =  JSON.parseObject("{\"code\":\"success\"}",cn.luischen.utils.APIResponse.class);

    PowerMockito.whenNew(cn.luischen.model.UserDomain.class).withNoArguments().thenReturn( mock_sub_caller_UserDomain12);
    PowerMockito.when( mock_sub_caller_UserDomain12.getUid()).thenReturn( mock_result_Integer11);
    PowerMockito.doNothing().when( mock_sub_caller_UserDomain12).setUid(Mockito.anyInt());
    PowerMockito.when(mock_UserService.updateUserInfo(Mockito.any(cn.luischen.model.UserDomain.class ))).thenReturn( mock_result_Integer7);
    PowerMockito.when(cn.luischen.utils.GsonUtils.toJsonString(anyObject())).thenReturn( mock_result_String6);
    PowerMockito.doNothing().when(mock_LogService).addLog(anyString(),anyString(),anyString(),Mockito.anyInt());
    PowerMockito.when(cn.luischen.utils.APIResponse.success()).thenReturn( mock_result_APIResponse1);

    cn.luischen.utils.APIResponse  unitspirit_result =  unitspirit_fixture.saveProfile(String_p_0,String_p_1,HttpServletRequest_p_2,HttpSession_p_3);
    cn.luischen.utils.APIResponse obj_expected = JSON.parseObject(result_expected,cn.luischen.utils.APIResponse.class);
    UnitAssert.assertEquals(UnitSpiritFastJsonUtil.getJsonString2(obj_expected),UnitSpiritFastJsonUtil.getJsonString2(unitspirit_result));
  }
}